3.188 \(\int \sqrt{d \cos (a+b x)} \sin (a+b x) \, dx\)

Optimal. Leaf size=22 \[ -\frac{2 (d \cos (a+b x))^{3/2}}{3 b d} \]

[Out]

(-2*(d*Cos[a + b*x])^(3/2))/(3*b*d)

________________________________________________________________________________________

Rubi [A]  time = 0.0217415, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {2565, 30} \[ -\frac{2 (d \cos (a+b x))^{3/2}}{3 b d} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[d*Cos[a + b*x]]*Sin[a + b*x],x]

[Out]

(-2*(d*Cos[a + b*x])^(3/2))/(3*b*d)

Rule 2565

Int[(cos[(e_.) + (f_.)*(x_)]*(a_.))^(m_.)*sin[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> -Dist[(a*f)^(-1), Subst[
Int[x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Cos[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2]
 &&  !(IntegerQ[(m - 1)/2] && GtQ[m, 0] && LeQ[m, n])

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin{align*} \int \sqrt{d \cos (a+b x)} \sin (a+b x) \, dx &=-\frac{\operatorname{Subst}\left (\int \sqrt{x} \, dx,x,d \cos (a+b x)\right )}{b d}\\ &=-\frac{2 (d \cos (a+b x))^{3/2}}{3 b d}\\ \end{align*}

Mathematica [A]  time = 0.0165863, size = 22, normalized size = 1. \[ -\frac{2 (d \cos (a+b x))^{3/2}}{3 b d} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[d*Cos[a + b*x]]*Sin[a + b*x],x]

[Out]

(-2*(d*Cos[a + b*x])^(3/2))/(3*b*d)

________________________________________________________________________________________

Maple [A]  time = 0.006, size = 19, normalized size = 0.9 \begin{align*} -{\frac{2}{3\,bd} \left ( d\cos \left ( bx+a \right ) \right ) ^{{\frac{3}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*cos(b*x+a))^(1/2)*sin(b*x+a),x)

[Out]

-2/3*(d*cos(b*x+a))^(3/2)/b/d

________________________________________________________________________________________

Maxima [A]  time = 0.958472, size = 24, normalized size = 1.09 \begin{align*} -\frac{2 \, \left (d \cos \left (b x + a\right )\right )^{\frac{3}{2}}}{3 \, b d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*cos(b*x+a))^(1/2)*sin(b*x+a),x, algorithm="maxima")

[Out]

-2/3*(d*cos(b*x + a))^(3/2)/(b*d)

________________________________________________________________________________________

Fricas [A]  time = 1.91013, size = 57, normalized size = 2.59 \begin{align*} -\frac{2 \, \sqrt{d \cos \left (b x + a\right )} \cos \left (b x + a\right )}{3 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*cos(b*x+a))^(1/2)*sin(b*x+a),x, algorithm="fricas")

[Out]

-2/3*sqrt(d*cos(b*x + a))*cos(b*x + a)/b

________________________________________________________________________________________

Sympy [A]  time = 1.58721, size = 34, normalized size = 1.55 \begin{align*} \begin{cases} - \frac{2 \sqrt{d} \cos ^{\frac{3}{2}}{\left (a + b x \right )}}{3 b} & \text{for}\: b \neq 0 \\x \sqrt{d \cos{\left (a \right )}} \sin{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*cos(b*x+a))**(1/2)*sin(b*x+a),x)

[Out]

Piecewise((-2*sqrt(d)*cos(a + b*x)**(3/2)/(3*b), Ne(b, 0)), (x*sqrt(d*cos(a))*sin(a), True))

________________________________________________________________________________________

Giac [A]  time = 1.12548, size = 28, normalized size = 1.27 \begin{align*} -\frac{2 \, \sqrt{d \cos \left (b x + a\right )} \cos \left (b x + a\right )}{3 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*cos(b*x+a))^(1/2)*sin(b*x+a),x, algorithm="giac")

[Out]

-2/3*sqrt(d*cos(b*x + a))*cos(b*x + a)/b